package com.example.models;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data//重写Getter，Setter和toString方法
@NoArgsConstructor//无参构造
@AllArgsConstructor//全参构造
public class teacher {
    private int id;
    private String phone;
    private String name;
    private int age;
    private String title;
    private String gender;
    private String password;
    private String image;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
